
enum ACTION_TYPE
{
	ACTION_AUCUNE=0,
	ACTION_OBSERVER,
	ACTION_PRENDRE,
	ACTION_ANIMATE
};

class actionMesh : public staticMesh
{
public:
	actionMesh(ACTION_TYPE=ACTION_AUCUNE);
	~actionMesh();

	virtual int init(int, IAnimatedMeshSceneNode *, int);

	ACTION_TYPE getAction();
	int getCombi();
private:
	
	ACTION_TYPE action;
	int combi;
};

//------------------------------------------------------------------------------------------//

class observationMesh : public actionMesh
{
public:
	observationMesh(ACTION_TYPE=ACTION_OBSERVER);
	~observationMesh();

	virtual int init(int, IAnimatedMeshSceneNode *, int);
private:
};

//------------------------------------------------------------------------------------------//

class prendreMesh : public observationMesh
{
public:
	prendreMesh(ACTION_TYPE=ACTION_PRENDRE);
	~prendreMesh();

	virtual int init(int, IAnimatedMeshSceneNode *, int, int);

	int getItem();
private:
	int it;
};

//------------------------------------------------------------------------------------------//

//------------------------------------------------------------------------------------------//

class animateMesh : public observationMesh
{
public:
	animateMesh(ACTION_TYPE=ACTION_ANIMATE);
	~animateMesh();

	virtual int init(int, IAnimatedMeshSceneNode *, int, int, int, int);

	int getAnim();
	int getBegin();
	int getEnd();
private:
	int anim;
	int begin;
	int end;
};

//------------------------------------------------------------------------------------------//



